<?php

require_once "gui/spGuiListBoxFormBinding.php";

class spPageNEDT extends spPage
{
	public function __construct( $param )
	{
		parent::__construct();
		
		// create defaults if not supplied
		$this->param = array_merge(
			array(
				"heading"			=> "",
				"heading_img"		=> ""
			),
			$param==null?array():$param
		);

		parent::spRenderDefaults();
		parent::spRenderHeading( $param["heading"], $param["heading_img"] );
		
		parent::addChild( new spGuiListBoxFormBinding( $param["formdata"] ) );
	}
	
	
}

?>